<template>
  <el-container>
    <el-header>
      <Nav></Nav>
    </el-header>
    <el-container>
      <el-aside width="200px">Aside</el-aside>
      <el-main>Main</el-main>
    </el-container>
  </el-container>
</template>

<script>

  import  Nav from '@/components/Nav'

  export default {
    name: "Index.vue",
    components:{
      Nav
    }
  }
</script>

<style scoped>
.el-header {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  text-align: center;
  line-height: 160px;
}

.el-aside,.el-main{height: calc(100vh - 60px);}

.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
}



</style>